package com.example.repository;

import com.example.entity.Vehicle;
import com.example.entity.VehicleStatus;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface VehicleRepository extends JpaRepository<Vehicle, String> {
    List<Vehicle> findByStatus(VehicleStatus status);
}